refactor(monit): 下线 monit-agent SDK API - #71
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
移除
Diagnostics.TargetsList、Diagnostics.ToolsCatalog、Diagnostics.ToolsInvoke和专属请求/响应模型,清理 vendored 中英文 OpenAPI 后重新生成,并移除退休接口的 E2E sweep 项。在既有命名前缀表中固定 Diagnostics 的
monit-read前缀,确保删除 Agent 操作不会让仍受支持的QueryData/QueryDiagnose意外改名。其余 API 保持不变;本次仅同步退休接口的规格删除,不顺带引入文档仓库其他尚未同步的 API。验证:
go generate ./...、go test ./...、GOWORK=off go test -tags=e2e ./e2e -run '^$'(仅编译,无远端请求),新增生成器方法名兼容回归;比对确认仅删除三个端点、剩余 operation 内容未变。这是 Agent API 的有意破坏性移除,调用方应删除这些调用。配套 CLI 将依赖本分支提交;建议先合并本 PR,再合并 CLI。
已由两个上下文干净的 subagent 分别审查后端混版与跨仓客户端链路,修复 SDK E2E 编译残留和旧 Edge 发送队列积压问题后复审通过。